package com.shareach.service;  

import java.util.List;

import org.springframework.data.domain.Page;

import com.shareach.common.BaseQueryOrder;
import com.shareach.domain.BaseBrandDomain;

/** 
 * create time：2013-1-30 上午11:52:08 
 * @author retryu 
 * @since JDK 1.6
 * @version 1.0  
 * description： 
 */
public interface BaseBrandService {
	Long  save(BaseBrandDomain  domain);
	void  del(BaseBrandDomain  domain);
	void  update(BaseBrandDomain  domain);
	// update by domain
	void update(BaseBrandDomain domain, BaseBrandDomain condition);
	BaseBrandDomain getById(Long id);
	List<BaseBrandDomain>  getList(BaseBrandDomain  domain);
	Page<BaseBrandDomain> getPageResult(BaseBrandDomain domain, BaseQueryOrder order);
	BaseBrandDomain findOne(BaseBrandDomain domain);
}
  
